package com.youlai.boot.diet.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 饮食计划视图对象
 *
 * @author cuisheng
 * @since 2025-03-30 19:06
 */
@Getter
@Setter
@Schema( description = "饮食计划视图对象")
public class DietPlanVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "计划ID")
    private Long id;
    @Schema(description = "用户ID（关联用户表）")
    private Long userId;
    @Schema(description = "计划日期")
    private String planDate;
    @Schema(description = "食物ID（关联 food 表）")
    private Long foodId;
    @Schema(description = "食物名")
    private String foodName;
    @Schema(description = "千卡")
    private Double energy;
    @Schema(description = "食物摄入克数")
    private Long quantity;
    @Schema(description = "蛋白质")
    private Double protein;
    @Schema(description = "脂肪")
    private Double fat;
    @Schema(description = "碳水")
    private Double carbohydrate;

}
